<template>
    <!-- pub_header_padding pub_tabbar_padding pub_page_bg_big -->
    <view class="pub_page pub_page_bg pub_fws pub_header_padding">
        <pub-head headerName="fws" :headerConfig="headerConfig"></pub-head>
        <div class="pub_page_scroll page_box">
            <div class="banner_div" v-if="bannerList.length">
                <swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="5000"
                    v-cloak:indicator-dots="false">
                    <swiper-item v-for="(item, key) in bannerList" :key="key">
                        <view class="swiper_item" :style="{ backgroundImage: 'url(' + item + ')' }"></view>
                    </swiper-item>
                </swiper>
            </div>
        </div>
    </view>
</template>

<script>
export default {
    data() {
        return {
            headerConfig: {
                title: '服务商',//标题栏内容
                left_type: 3,
            },
            bannerList: []
        };
    },
    onLoad(option) {
        this.bannerList = option.images ? option.images.split(",") : [];
    },
    methods: {},
};
</script>

<style lang="scss" scoped>
@import "@/common/css/mine.scss";
</style>
